<template>
  <view class="cu-modal" :class="show" @tap="hideModal">
    <view class="cu-dialog">
      <image class="img" :src="photoUrl" mode="aspectFit"></image>
    </view>
  </view>
</template>

<script>
	export default {
    props: {
      show: String,
      photoUrl: String
    },
		methods: {
      hideModal () {
        this.$emit('hideModal')
      }
    }
	}
</script>

<style>
</style>
